﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013EB RID: 5099
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyGameGridInfo : IMessage<TrainPartyGameGridInfo>, IMessage, IEquatable<TrainPartyGameGridInfo>, IDeepCloneable<TrainPartyGameGridInfo>, IBufferMessage
	{
		// Token: 0x17004048 RID: 16456
		// (get) Token: 0x0600E450 RID: 58448 RVA: 0x0026255F File Offset: 0x0026075F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyGameGridInfo> Parser
		{
			get
			{
				return TrainPartyGameGridInfo._parser;
			}
		}

		// Token: 0x17004049 RID: 16457
		// (get) Token: 0x0600E451 RID: 58449 RVA: 0x00262566 File Offset: 0x00260766
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyGameGridInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700404A RID: 16458
		// (get) Token: 0x0600E452 RID: 58450 RVA: 0x00262578 File Offset: 0x00260778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyGameGridInfo.Descriptor;
			}
		}

		// Token: 0x0600E453 RID: 58451 RVA: 0x0026257F File Offset: 0x0026077F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameGridInfo()
		{
		}

		// Token: 0x0600E454 RID: 58452 RVA: 0x00262594 File Offset: 0x00260794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameGridInfo(TrainPartyGameGridInfo other) : this()
		{
			this.oOPDLCMLKKL_ = other.oOPDLCMLKKL_;
			this.nOFPLBABCCB_ = other.nOFPLBABCCB_;
			this.oPDABBNHHCG_ = ((other.oPDABBNHHCG_ != null) ? other.oPDABBNHHCG_.Clone() : null);
			this.gridList_ = other.gridList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E455 RID: 58453 RVA: 0x002625FD File Offset: 0x002607FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameGridInfo Clone()
		{
			return new TrainPartyGameGridInfo(this);
		}

		// Token: 0x1700404B RID: 16459
		// (get) Token: 0x0600E456 RID: 58454 RVA: 0x00262605 File Offset: 0x00260805
		// (set) Token: 0x0600E457 RID: 58455 RVA: 0x0026260D File Offset: 0x0026080D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OOPDLCMLKKL
		{
			get
			{
				return this.oOPDLCMLKKL_;
			}
			set
			{
				this.oOPDLCMLKKL_ = value;
			}
		}

		// Token: 0x1700404C RID: 16460
		// (get) Token: 0x0600E458 RID: 58456 RVA: 0x00262616 File Offset: 0x00260816
		// (set) Token: 0x0600E459 RID: 58457 RVA: 0x0026261E File Offset: 0x0026081E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NOFPLBABCCB
		{
			get
			{
				return this.nOFPLBABCCB_;
			}
			set
			{
				this.nOFPLBABCCB_ = value;
			}
		}

		// Token: 0x1700404D RID: 16461
		// (get) Token: 0x0600E45A RID: 58458 RVA: 0x00262627 File Offset: 0x00260827
		// (set) Token: 0x0600E45B RID: 58459 RVA: 0x0026262F File Offset: 0x0026082F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKFGPABKEJE OPDABBNHHCG
		{
			get
			{
				return this.oPDABBNHHCG_;
			}
			set
			{
				this.oPDABBNHHCG_ = value;
			}
		}

		// Token: 0x1700404E RID: 16462
		// (get) Token: 0x0600E45C RID: 58460 RVA: 0x00262638 File Offset: 0x00260838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGameGrid> GridList
		{
			get
			{
				return this.gridList_;
			}
		}

		// Token: 0x0600E45D RID: 58461 RVA: 0x00262640 File Offset: 0x00260840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyGameGridInfo);
		}

		// Token: 0x0600E45E RID: 58462 RVA: 0x00262650 File Offset: 0x00260850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyGameGridInfo other)
		{
			return other != null && (other == this || (this.OOPDLCMLKKL == other.OOPDLCMLKKL && this.NOFPLBABCCB == other.NOFPLBABCCB && object.Equals(this.OPDABBNHHCG, other.OPDABBNHHCG) && this.gridList_.Equals(other.gridList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E45F RID: 58463 RVA: 0x002626C4 File Offset: 0x002608C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OOPDLCMLKKL != 0U)
			{
				num ^= this.OOPDLCMLKKL.GetHashCode();
			}
			if (this.NOFPLBABCCB != 0U)
			{
				num ^= this.NOFPLBABCCB.GetHashCode();
			}
			if (this.oPDABBNHHCG_ != null)
			{
				num ^= this.OPDABBNHHCG.GetHashCode();
			}
			num ^= this.gridList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E460 RID: 58464 RVA: 0x00262740 File Offset: 0x00260940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E461 RID: 58465 RVA: 0x00262748 File Offset: 0x00260948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E462 RID: 58466 RVA: 0x00262754 File Offset: 0x00260954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gridList_.WriteTo(ref output, TrainPartyGameGridInfo._repeated_gridList_codec);
			if (this.OOPDLCMLKKL != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.OOPDLCMLKKL);
			}
			if (this.oPDABBNHHCG_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.OPDABBNHHCG);
			}
			if (this.NOFPLBABCCB != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.NOFPLBABCCB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E463 RID: 58467 RVA: 0x002627DC File Offset: 0x002609DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OOPDLCMLKKL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OOPDLCMLKKL);
			}
			if (this.NOFPLBABCCB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NOFPLBABCCB);
			}
			if (this.oPDABBNHHCG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OPDABBNHHCG);
			}
			num += this.gridList_.CalculateSize(TrainPartyGameGridInfo._repeated_gridList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E464 RID: 58468 RVA: 0x00262860 File Offset: 0x00260A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyGameGridInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OOPDLCMLKKL != 0U)
			{
				this.OOPDLCMLKKL = other.OOPDLCMLKKL;
			}
			if (other.NOFPLBABCCB != 0U)
			{
				this.NOFPLBABCCB = other.NOFPLBABCCB;
			}
			if (other.oPDABBNHHCG_ != null)
			{
				if (this.oPDABBNHHCG_ == null)
				{
					this.OPDABBNHHCG = new OKFGPABKEJE();
				}
				this.OPDABBNHHCG.MergeFrom(other.OPDABBNHHCG);
			}
			this.gridList_.Add(other.gridList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E465 RID: 58469 RVA: 0x002628ED File Offset: 0x00260AED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E466 RID: 58470 RVA: 0x002628F8 File Offset: 0x00260AF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 18U)
					{
						this.gridList_.AddEntriesFrom(ref input, TrainPartyGameGridInfo._repeated_gridList_codec);
						continue;
					}
					if (num == 32U)
					{
						this.OOPDLCMLKKL = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 74U)
					{
						if (this.oPDABBNHHCG_ == null)
						{
							this.OPDABBNHHCG = new OKFGPABKEJE();
						}
						input.ReadMessage(this.OPDABBNHHCG);
						continue;
					}
					if (num == 88U)
					{
						this.NOFPLBABCCB = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005A54 RID: 23124
		private static readonly MessageParser<TrainPartyGameGridInfo> _parser = new MessageParser<TrainPartyGameGridInfo>(() => new TrainPartyGameGridInfo());

		// Token: 0x04005A55 RID: 23125
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005A56 RID: 23126
		public const int OOPDLCMLKKLFieldNumber = 4;

		// Token: 0x04005A57 RID: 23127
		private uint oOPDLCMLKKL_;

		// Token: 0x04005A58 RID: 23128
		public const int NOFPLBABCCBFieldNumber = 11;

		// Token: 0x04005A59 RID: 23129
		private uint nOFPLBABCCB_;

		// Token: 0x04005A5A RID: 23130
		public const int OPDABBNHHCGFieldNumber = 9;

		// Token: 0x04005A5B RID: 23131
		private OKFGPABKEJE oPDABBNHHCG_;

		// Token: 0x04005A5C RID: 23132
		public const int GridListFieldNumber = 2;

		// Token: 0x04005A5D RID: 23133
		private static readonly FieldCodec<TrainPartyGameGrid> _repeated_gridList_codec = FieldCodec.ForMessage<TrainPartyGameGrid>(18U, TrainPartyGameGrid.Parser);

		// Token: 0x04005A5E RID: 23134
		private readonly RepeatedField<TrainPartyGameGrid> gridList_ = new RepeatedField<TrainPartyGameGrid>();
	}
}
